package com.zjp.demo02251.enums;

/**
 * @author james
 * @Title: ResultEnum
 * @Package com.zjp.demo02251.enums
 * @Description:
 * @date 2018/2/25  20:15
 */
public enum ResultEnum {

    UNKONW_ERROR(-1,"未知错误"),
    PRIMARY_SCHOOL(100,"你还在上小学"),
    MIDDLE_SCHOOL(101,"你还在上中学"),

    ;

    private Integer code;

    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
